home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-02 / lcu.zip / LCU.DOC < prev    next >
Text File  |  1993-01-04  |  4KB  |  72 lines

  1. LCU ("List Copy Utility") is a utility written to aid in backing up your
  2. hard disk, by allowing a set of files to be manipulated as a group. 
  3. Functions include
  4.  
  5. 1.    LIST:  Reads the current disk directory to prepare a list of files. 
  6.    LIST reads a specified group of files, with wildcards, and makes ASCII
  7.    file with file size.  The user is prompted for a name of the LIST file,
  8.    and this file is given an extension of "FFF" if none is specified.  The
  9.    LIST function includes only the current directory.  No edit capability
  10.    is provided by LCU, but the LIST file can be edited by a word processor
  11.    if desired, as to delete or add entries, or to specify files on other
  12.    paths.
  13.  
  14.     The List can include files from multiple directories, using standard
  15.    dos conventions.  A filename beginning with a backslash is assumed to
  16.    include a completely specified file path, while one without a backslash
  17.    is assumed to be a path descended from the current path:
  18.  
  19.         \TEMPFILE.$$$    -> File in the root directory
  20.           TEMPFILE.$$$    -> File in the current directory
  21.           A\TEMPFILE.$$$  -> File in directory A of current directory
  22.  
  23. 2.    COPY:  Copies a LIST of files from on directory to another.  The user
  24.    is prompted for a name of a list, and a destination.  The Archive
  25.    attributes of the destination files is set to off, so that these files
  26.    need not be backed up with hard disk back up utilities that check the
  27.    archive attribute, speeding backup.  Files are then copied, and reread-
  28.    after-write verified.  The copy function is relatively sophisticated,
  29.    including variable block size copy and  identification of source and
  30.    destination media types.  The copy routine also prompts the user to
  31.    insert subsequent floppies when the destination does not have room for
  32.    the source file, or when the source file is not found on the source
  33.    floppy, so that you can copy a list of files that requires multiple
  34.    floppies to and from a hard disk.
  35.  
  36. 3.    VERIFY:  Compares a list of files in one directory to the same files
  37.    in another directory.  
  38.  
  39. 4.    MERGE:  This function is useful for identifying multiple copies of
  40.    files, and processing depending on whether the source file exists on
  41.    the destination directory, and if so, whether the files are identical. 
  42.    After user prompting for a file list, LCU checks the destination
  43.    directory for each file in the source list.  If the file is not found
  44.    in the destination, it is copied to the destination directory, and the
  45.    name is written to a log file with extension "FFY" (FFiles - Yes).  If
  46.    the file is found on the destination directory, it is compared with the
  47.    file on the source directory.  If the files are identical, the name is
  48.    written to the log file with extension "FFY"; if not, the name is
  49.    written to the file with extension "FFN".  After checking each file,
  50.    the user is asked whether to delete the "FFY" files on the SOURCE
  51.    directory.  The FFY and FFN file lists remain on the source drive,
  52.    making it easy to reverse the process.  
  53.  
  54.     The net result of the MERGE function is the consolidation of multiple
  55.    disk worth of files to a destination files, with identification of
  56.    those files on the source disks which are the same or different as
  57.    those on the consolidated directory.  I find this handy for identifying
  58.    different versions of files.
  59.  
  60. 5.    ATTRIBUTE:  Changes attributes of a list of files.
  61.  
  62. 6.    DELETE:  Deletes a list of files.
  63.  
  64.  
  65. I hope you find this to be a useful utility.  Full source code is
  66. provided, some of which is more generally useful.  
  67.  
  68. Any Comments?  Send them on!
  69.  
  70. John W. Sparks
  71. September 2, 1982
  72.